package cn.lzh.mapper;

import cn.lzh.entity.MyUser;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface UserMapper {
 MyUser findByAccount(String account);

 MyUser findById(Integer id);

 List<Map<String, Object>> findAll(Map<String, Object> map);

 int getCount();

 void add(MyUser u);

 int update(Map<String, Object> map);
}
